<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.2"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Hardware Abstraction Layer (HAL)</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="logo.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Hardware Abstraction Layer (HAL)</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.2 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('group__group__hal__results__spi.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a>  </div>
  <div class="headertitle"><div class="title">SPI HAL Results<div class="ingroups"><a class="el" href="group__group__hal.html">HAL Drivers</a> &raquo; <a class="el" href="group__group__hal__spi.html">SPI (Serial Peripheral Interface)</a> &#124; <a class="el" href="group__group__hal__types.html">HAL General Types/Macros</a> &raquo; <a class="el" href="group__group__hal__general__types.html">General Types</a> &raquo; <a class="el" href="group__group__hal__results.html">Result Codes</a></div></div></div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">General Description</h2>
<p >SPI specific return codes. </p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga64ec68b6d2eac6a422d853a48ad2fb82"><td class="memItemLeft" align="right" valign="top"><a id="ga64ec68b6d2eac6a422d853a48ad2fb82" name="ga64ec68b6d2eac6a422d853a48ad2fb82"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYHAL_SPI_RSLT_BAD_ARGUMENT</b>&#160;&#160;&#160;    (<a class="el" href="group__group__result.html#ga7b3e119b13a8bb398f429a22d8cf4dcd">CY_RSLT_CREATE_EX</a>(<a class="el" href="group__group__result.html#gga379d2c0a6a4ef22f04e53e8eb4c9ee79aac3d9861cc429ed0a29962e7829f4160">CY_RSLT_TYPE_ERROR</a>, <a class="el" href="group__group__result.html#gga9008565cba0207520330a1cb8509a8d0a79b500d6463aadd493b3812f779f75df">CY_RSLT_MODULE_ABSTRACTION_HAL</a>, <a class="el" href="group__group__hal__results.html#gga84f32ecb6376e2088d4f048e35f52005ab8eb6c73c4faba6bc4921c84ab03f065">CYHAL_RSLT_MODULE_SPI</a>, 0))</td></tr>
<tr class="memdesc:ga64ec68b6d2eac6a422d853a48ad2fb82"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bad argument. <br /></td></tr>
<tr class="separator:ga64ec68b6d2eac6a422d853a48ad2fb82"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5a9a30f020bc81df14004b8784a6d966"><td class="memItemLeft" align="right" valign="top"><a id="ga5a9a30f020bc81df14004b8784a6d966" name="ga5a9a30f020bc81df14004b8784a6d966"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYHAL_SPI_RSLT_CLOCK_ERROR</b>&#160;&#160;&#160;    (<a class="el" href="group__group__result.html#ga7b3e119b13a8bb398f429a22d8cf4dcd">CY_RSLT_CREATE_EX</a>(<a class="el" href="group__group__result.html#gga379d2c0a6a4ef22f04e53e8eb4c9ee79aac3d9861cc429ed0a29962e7829f4160">CY_RSLT_TYPE_ERROR</a>, <a class="el" href="group__group__result.html#gga9008565cba0207520330a1cb8509a8d0a79b500d6463aadd493b3812f779f75df">CY_RSLT_MODULE_ABSTRACTION_HAL</a>, <a class="el" href="group__group__hal__results.html#gga84f32ecb6376e2088d4f048e35f52005ab8eb6c73c4faba6bc4921c84ab03f065">CYHAL_RSLT_MODULE_SPI</a>, 1))</td></tr>
<tr class="memdesc:ga5a9a30f020bc81df14004b8784a6d966"><td class="mdescLeft">&#160;</td><td class="mdescRight">Failed to initialize SPI clock or can't make changes in user-provided clock. <br /></td></tr>
<tr class="separator:ga5a9a30f020bc81df14004b8784a6d966"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa141015de5c42dd74c589099e27cc608"><td class="memItemLeft" align="right" valign="top"><a id="gaa141015de5c42dd74c589099e27cc608" name="gaa141015de5c42dd74c589099e27cc608"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYHAL_SPI_RSLT_TRANSFER_ERROR</b>&#160;&#160;&#160;    (<a class="el" href="group__group__result.html#ga7b3e119b13a8bb398f429a22d8cf4dcd">CY_RSLT_CREATE_EX</a>(<a class="el" href="group__group__result.html#gga379d2c0a6a4ef22f04e53e8eb4c9ee79aac3d9861cc429ed0a29962e7829f4160">CY_RSLT_TYPE_ERROR</a>, <a class="el" href="group__group__result.html#gga9008565cba0207520330a1cb8509a8d0a79b500d6463aadd493b3812f779f75df">CY_RSLT_MODULE_ABSTRACTION_HAL</a>, <a class="el" href="group__group__hal__results.html#gga84f32ecb6376e2088d4f048e35f52005ab8eb6c73c4faba6bc4921c84ab03f065">CYHAL_RSLT_MODULE_SPI</a>, 2))</td></tr>
<tr class="memdesc:gaa141015de5c42dd74c589099e27cc608"><td class="mdescLeft">&#160;</td><td class="mdescRight">Failed to Transfer SPI data. <br /></td></tr>
<tr class="separator:gaa141015de5c42dd74c589099e27cc608"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacc80c9d4fad73a3694e710ee5a7c477b"><td class="memItemLeft" align="right" valign="top"><a id="gacc80c9d4fad73a3694e710ee5a7c477b" name="gacc80c9d4fad73a3694e710ee5a7c477b"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYHAL_SPI_RSLT_CLOCK_NOT_SUPPORTED</b>&#160;&#160;&#160;    (<a class="el" href="group__group__result.html#ga7b3e119b13a8bb398f429a22d8cf4dcd">CY_RSLT_CREATE_EX</a>(<a class="el" href="group__group__result.html#gga379d2c0a6a4ef22f04e53e8eb4c9ee79aac3d9861cc429ed0a29962e7829f4160">CY_RSLT_TYPE_ERROR</a>, <a class="el" href="group__group__result.html#gga9008565cba0207520330a1cb8509a8d0a79b500d6463aadd493b3812f779f75df">CY_RSLT_MODULE_ABSTRACTION_HAL</a>, <a class="el" href="group__group__hal__results.html#gga84f32ecb6376e2088d4f048e35f52005ab8eb6c73c4faba6bc4921c84ab03f065">CYHAL_RSLT_MODULE_SPI</a>, 3))</td></tr>
<tr class="memdesc:gacc80c9d4fad73a3694e710ee5a7c477b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provided clock is not supported by SPI. <br /></td></tr>
<tr class="separator:gacc80c9d4fad73a3694e710ee5a7c477b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga49a9c5cb47f806c1ef809db148a745de"><td class="memItemLeft" align="right" valign="top"><a id="ga49a9c5cb47f806c1ef809db148a745de" name="ga49a9c5cb47f806c1ef809db148a745de"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYHAL_SPI_RSLT_PIN_CONFIG_NOT_SUPPORTED</b>&#160;&#160;&#160;    (<a class="el" href="group__group__result.html#ga7b3e119b13a8bb398f429a22d8cf4dcd">CY_RSLT_CREATE_EX</a>(<a class="el" href="group__group__result.html#gga379d2c0a6a4ef22f04e53e8eb4c9ee79aac3d9861cc429ed0a29962e7829f4160">CY_RSLT_TYPE_ERROR</a>, <a class="el" href="group__group__result.html#gga9008565cba0207520330a1cb8509a8d0a79b500d6463aadd493b3812f779f75df">CY_RSLT_MODULE_ABSTRACTION_HAL</a>, <a class="el" href="group__group__hal__results.html#gga84f32ecb6376e2088d4f048e35f52005ab8eb6c73c4faba6bc4921c84ab03f065">CYHAL_RSLT_MODULE_SPI</a>, 5))</td></tr>
<tr class="memdesc:ga49a9c5cb47f806c1ef809db148a745de"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provided PIN configuration is not supported by SPI. <br /></td></tr>
<tr class="separator:ga49a9c5cb47f806c1ef809db148a745de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa2f2c07a304037d61976de24dafdc54c"><td class="memItemLeft" align="right" valign="top"><a id="gaa2f2c07a304037d61976de24dafdc54c" name="gaa2f2c07a304037d61976de24dafdc54c"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYHAL_SPI_RSLT_INVALID_PIN_API_NOT_SUPPORTED</b>&#160;&#160;&#160;    (<a class="el" href="group__group__result.html#ga7b3e119b13a8bb398f429a22d8cf4dcd">CY_RSLT_CREATE_EX</a>(<a class="el" href="group__group__result.html#gga379d2c0a6a4ef22f04e53e8eb4c9ee79aac3d9861cc429ed0a29962e7829f4160">CY_RSLT_TYPE_ERROR</a>, <a class="el" href="group__group__result.html#gga9008565cba0207520330a1cb8509a8d0a79b500d6463aadd493b3812f779f75df">CY_RSLT_MODULE_ABSTRACTION_HAL</a>, <a class="el" href="group__group__hal__results.html#gga84f32ecb6376e2088d4f048e35f52005ab8eb6c73c4faba6bc4921c84ab03f065">CYHAL_RSLT_MODULE_SPI</a>, 6))</td></tr>
<tr class="memdesc:gaa2f2c07a304037d61976de24dafdc54c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provided PIN configuration is not supported by SPI. <br /></td></tr>
<tr class="separator:gaa2f2c07a304037d61976de24dafdc54c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9be0aaa5888dea007b9080f8e6508761"><td class="memItemLeft" align="right" valign="top"><a id="ga9be0aaa5888dea007b9080f8e6508761" name="ga9be0aaa5888dea007b9080f8e6508761"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYHAL_SPI_RSLT_ERR_INVALID_PIN</b>&#160;&#160;&#160;    (<a class="el" href="group__group__result.html#ga7b3e119b13a8bb398f429a22d8cf4dcd">CY_RSLT_CREATE_EX</a>(<a class="el" href="group__group__result.html#gga379d2c0a6a4ef22f04e53e8eb4c9ee79aac3d9861cc429ed0a29962e7829f4160">CY_RSLT_TYPE_ERROR</a>, <a class="el" href="group__group__result.html#gga9008565cba0207520330a1cb8509a8d0a79b500d6463aadd493b3812f779f75df">CY_RSLT_MODULE_ABSTRACTION_HAL</a>, <a class="el" href="group__group__hal__results.html#gga84f32ecb6376e2088d4f048e35f52005ab8eb6c73c4faba6bc4921c84ab03f065">CYHAL_RSLT_MODULE_SPI</a>, 7))</td></tr>
<tr class="memdesc:ga9be0aaa5888dea007b9080f8e6508761"><td class="mdescLeft">&#160;</td><td class="mdescRight">The requested resource type is invalid. <br /></td></tr>
<tr class="separator:ga9be0aaa5888dea007b9080f8e6508761"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4d1d1f93434e3948b5c04cac6a4316ff"><td class="memItemLeft" align="right" valign="top"><a id="ga4d1d1f93434e3948b5c04cac6a4316ff" name="ga4d1d1f93434e3948b5c04cac6a4316ff"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYHAL_SPI_RSLT_ERR_CANNOT_CONFIG_SSEL</b>&#160;&#160;&#160;    (<a class="el" href="group__group__result.html#ga7b3e119b13a8bb398f429a22d8cf4dcd">CY_RSLT_CREATE_EX</a>(<a class="el" href="group__group__result.html#gga379d2c0a6a4ef22f04e53e8eb4c9ee79aac3d9861cc429ed0a29962e7829f4160">CY_RSLT_TYPE_ERROR</a>, <a class="el" href="group__group__result.html#gga9008565cba0207520330a1cb8509a8d0a79b500d6463aadd493b3812f779f75df">CY_RSLT_MODULE_ABSTRACTION_HAL</a>, <a class="el" href="group__group__hal__results.html#gga84f32ecb6376e2088d4f048e35f52005ab8eb6c73c4faba6bc4921c84ab03f065">CYHAL_RSLT_MODULE_SPI</a>, 8))</td></tr>
<tr class="memdesc:ga4d1d1f93434e3948b5c04cac6a4316ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Cannot configure SSEL signal. <br /></td></tr>
<tr class="separator:ga4d1d1f93434e3948b5c04cac6a4316ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4a5ee16eae3c7b63cc93e5f763600482"><td class="memItemLeft" align="right" valign="top"><a id="ga4a5ee16eae3c7b63cc93e5f763600482" name="ga4a5ee16eae3c7b63cc93e5f763600482"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYHAL_SPI_RSLT_ERR_CANNOT_SWITCH_SSEL</b>&#160;&#160;&#160;    (<a class="el" href="group__group__result.html#ga7b3e119b13a8bb398f429a22d8cf4dcd">CY_RSLT_CREATE_EX</a>(<a class="el" href="group__group__result.html#gga379d2c0a6a4ef22f04e53e8eb4c9ee79aac3d9861cc429ed0a29962e7829f4160">CY_RSLT_TYPE_ERROR</a>, <a class="el" href="group__group__result.html#gga9008565cba0207520330a1cb8509a8d0a79b500d6463aadd493b3812f779f75df">CY_RSLT_MODULE_ABSTRACTION_HAL</a>, <a class="el" href="group__group__hal__results.html#gga84f32ecb6376e2088d4f048e35f52005ab8eb6c73c4faba6bc4921c84ab03f065">CYHAL_RSLT_MODULE_SPI</a>, 9))</td></tr>
<tr class="memdesc:ga4a5ee16eae3c7b63cc93e5f763600482"><td class="mdescLeft">&#160;</td><td class="mdescRight">Cannot switch SSEL - device is busy or incorrect pin provided. <br /></td></tr>
<tr class="separator:ga4a5ee16eae3c7b63cc93e5f763600482"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac864864c47aa774c27dfdecc9047825d"><td class="memItemLeft" align="right" valign="top"><a id="gac864864c47aa774c27dfdecc9047825d" name="gac864864c47aa774c27dfdecc9047825d"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYHAL_SPI_RSLT_ERR_CFG_NOT_SUPPORTED</b>&#160;&#160;&#160;    (<a class="el" href="group__group__result.html#ga7b3e119b13a8bb398f429a22d8cf4dcd">CY_RSLT_CREATE_EX</a>(<a class="el" href="group__group__result.html#gga379d2c0a6a4ef22f04e53e8eb4c9ee79aac3d9861cc429ed0a29962e7829f4160">CY_RSLT_TYPE_ERROR</a>, <a class="el" href="group__group__result.html#gga9008565cba0207520330a1cb8509a8d0a79b500d6463aadd493b3812f779f75df">CY_RSLT_MODULE_ABSTRACTION_HAL</a>, <a class="el" href="group__group__hal__results.html#gga84f32ecb6376e2088d4f048e35f52005ab8eb6c73c4faba6bc4921c84ab03f065">CYHAL_RSLT_MODULE_SPI</a>, 10))</td></tr>
<tr class="memdesc:gac864864c47aa774c27dfdecc9047825d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provided configuration is not supported. <br /></td></tr>
<tr class="separator:gac864864c47aa774c27dfdecc9047825d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga340192b5c4e2b1ee9dc595acc2c52cdd"><td class="memItemLeft" align="right" valign="top"><a id="ga340192b5c4e2b1ee9dc595acc2c52cdd" name="ga340192b5c4e2b1ee9dc595acc2c52cdd"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYHAL_SPI_RSLT_ERR_UNSUPPORTED</b>&#160;&#160;&#160;    (<a class="el" href="group__group__result.html#ga7b3e119b13a8bb398f429a22d8cf4dcd">CY_RSLT_CREATE_EX</a>(<a class="el" href="group__group__result.html#gga379d2c0a6a4ef22f04e53e8eb4c9ee79aac3d9861cc429ed0a29962e7829f4160">CY_RSLT_TYPE_ERROR</a>, <a class="el" href="group__group__result.html#gga9008565cba0207520330a1cb8509a8d0a79b500d6463aadd493b3812f779f75df">CY_RSLT_MODULE_ABSTRACTION_HAL</a>, <a class="el" href="group__group__hal__results.html#gga84f32ecb6376e2088d4f048e35f52005ab8eb6c73c4faba6bc4921c84ab03f065">CYHAL_RSLT_MODULE_SPI</a>, 11))</td></tr>
<tr class="memdesc:ga340192b5c4e2b1ee9dc595acc2c52cdd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unsupported by this device. <br /></td></tr>
<tr class="separator:ga340192b5c4e2b1ee9dc595acc2c52cdd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabf8c4be60b4dece77df8d9d7c3778c06"><td class="memItemLeft" align="right" valign="top"><a id="gabf8c4be60b4dece77df8d9d7c3778c06" name="gabf8c4be60b4dece77df8d9d7c3778c06"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYHAL_SPI_RSLT_WARN_TIMEOUT</b>&#160;&#160;&#160;    (<a class="el" href="group__group__result.html#ga7b3e119b13a8bb398f429a22d8cf4dcd">CY_RSLT_CREATE_EX</a>(<a class="el" href="group__group__result.html#gga379d2c0a6a4ef22f04e53e8eb4c9ee79a63c4a05c8e5321bd44378a894fb947f5">CY_RSLT_TYPE_WARNING</a>, <a class="el" href="group__group__result.html#gga9008565cba0207520330a1cb8509a8d0a79b500d6463aadd493b3812f779f75df">CY_RSLT_MODULE_ABSTRACTION_HAL</a>, <a class="el" href="group__group__hal__results.html#gga84f32ecb6376e2088d4f048e35f52005ab8eb6c73c4faba6bc4921c84ab03f065">CYHAL_RSLT_MODULE_SPI</a>, 20))</td></tr>
<tr class="memdesc:gabf8c4be60b4dece77df8d9d7c3778c06"><td class="mdescLeft">&#160;</td><td class="mdescRight">Timeout warning. <br /></td></tr>
<tr class="separator:gabf8c4be60b4dece77df8d9d7c3778c06"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>Hardware Abstraction Layer (HAL)</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
-->
</body>
</html>
